<template>
    <ul class="news-list">
        <li>编号: {{ query.id }}</li>
        <li>标题: {{ query.title }}</li>
        <li>内容: {{ query.content }}</li>
    </ul>
</template>

<script setup lang="ts" name="About">
    import {toRefs} from 'vue'
    import {useRoute} from 'vue-router'
    let route = useRoute()
    let {query} = toRefs(route)
    // console.log('@',route)
</script>
